﻿using System;

namespace EDMDesigner.Business.MSL.Condition
{
    public class PropertyConditionMapping : ConditionMapping
    {
        private CSDL.Property.Scalar.ScalarProperty _csdlProperty;
        public CSDL.Property.Scalar.ScalarProperty CSDLProperty 
        {
            get { return _csdlProperty; }
            set 
            { 
                _csdlProperty = value;
                OnPropertyChanged();
            }
        }

        protected virtual void OnPropertyChanged()
        {
            if (PropertyChanged != null)
                PropertyChanged();
        }
        public event Action PropertyChanged;
    }
}
